 * {
margin: 0;
padding: 0;
box-sizing: border-box;
}
 body {
        font-family: Times New Roman;
        background-color: #7f3e09;
        color: antiquewhite;
           background-image: url("../../src images/when two worlds collide.jpg");
           background-repeat: no-repeat;
        background-size: cover;
    }

    header {
        text-align: center;
        position: static;
        background-color:#7f3e09;
        padding: 2rem;
    }

    nav {
        background: #dfe5c3;
        padding: 0.5rem;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.5rem;
     }

    nav a {
        color: #dda44f;
        text-decoration: none;
        margin: 0 1rem;
        }
    nav a:hover,
    .dropdown .dropbtn:hover {
        text-decoration: underline;
        color:#dda44f;
    }

    main {
        width: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
.description {
text-align: center;
font-size: 20px;
padding: 1rem;
line-height: 1.5em;
}


footer {
        background: #dfe5c3;
        color: #dda44f;
        text-align: center;
        padding: 1rem;
    }

/* Dropdown container */
    .dropdown {
        position: relative;
    }

/* Dropdown button */
    .dropdown .dropbtn {
        font-size: 16px;
        font-family: Times New Roman;
        border: none;
        outline: none;
        color: #dda44f;
        padding: 14px 20px;
        background-color: transparent;
        cursor: pointer;
    }

    .dropdown:hover .dropbtn {
        background-color: rgba(0, 0, 0, 0.15);
        border-radius: 4px;
        color:#dda44f;
    }

/* Dropdown content (hidden by default) */
    .dropdown-content {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #dfe5c3;
        min-width: 160px;
        box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
        z-index: 1;
        color: #dda44f;
    }

/* Links inside dropdown */
    .dropdown-content a {
        float: none;
        color: #dda44f;
        padding: 12px 16px;
        display: block;
        text-align: left;
    }
    .dropdown-content a:hover {
        background-color: #122e32;
        color:#dda44f;
    }

/* Show dropdown on hover */
    .dropdown:hover .dropdown-content {
        display: block;
        color:antiquewhite;
    }
/*Memory file*/
.card {
  font-family: 'Heebo';
  --bg-filter-opacity: 0.5; 
  background-image: linear-gradient(rgba(0,0,0,var(--bg-filter-opacity)),rgba(0,0,0,var(--bg-filter-opacity))), var(--bg-img);
  width: 10em;
  height: 14em;
  font-size: 1.5em;
  color: white;
  border-radius: 1em;
  padding: 1em;
  margin: 2em;
  display: flex;
  align-items: flex-end;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 0 5em -1em black;
  transition: all, var(--transition-time);
  position: relative;
  overflow: hidden;
  border: 10px solid #7f3e09;
  text-decoration: none;
}
.card:hover {
  --bg-filter-opacity: 0.2;
  transform: scale(1.05);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card .date {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 0.75em;
  padding: 1em;
  line-height: 1em;
  opacity: .8;
}
.card h1 {
    margin: .5;
    font-size: 1.1em;
    line-height: 1.5em;
}

.card p {
    font-size: 0.65em;
    font-family: 'Times New Roman', serif;
    margin-top: 0.2em;
    line-height: 2em;
}

.card .tags {
    display: flex;
}

.card .tags .tag {
    font-size: 0.5em;
    background: rgba(255,255,255,0.5);
    border-radius: 0.3rem;
    padding: 0 .5em;
    margin-right: 1em;
    line-height: 2em;
    transition: all, var(--transition-time);
}

.sterile{
  --bg-img: url("../../src images/sterile.jpg");
}
.paperclip {
  --bg-img: url("../../src images/paperclip.jpg");
}
.flowercrown {

  --bg-img: url("../../src images/flowercrown.jpg");
}

.triplei {
  --bg-img: url("../../src images/triple i.jpg");
}

.phaseone {
  --bg-img: url("../../src images/phaseone.jpg");
}

.observe {
  --bg-img: url("../../src images/observe.jpg");
}

.nihilism {
  --bg-img: url("../../src images/nihilism.jpg");
}

.drowning {
  --bg-img: url("../../src images/what does drowning feel like.jpg");
}
